package snapex.core;

import lombok.Getter;
import lombok.Setter;

@Getter @Setter
public class OperationNotAllowException extends SnapexApplicationException {

	private Operation operation;
	
	public OperationNotAllowException(String message, Throwable cause) {
		super(message, cause);
	}

	public OperationNotAllowException(String message) {
		super(message);
	}
	
	public OperationNotAllowException(Operation operation, String message) {
		super(message);
		this.operation = operation;
	}
}
